package com.mew.auc.config;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import com.alibaba.nacos.api.config.annotation.NacosProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Date 2020/11/6 0006
 **/
@NacosConfigurationProperties(dataId = "mew-user-config.yaml", type = ConfigType.YAML, autoRefreshed = true)
@Data
@ToString
@NoArgsConstructor
public class LobbyUserConfig {

    @NacosProperty(value = "user.gid.len")
    private int gidLen;

    @NacosProperty(value = "user.gid.start")
    private int gidStart;

    @NacosProperty(value = "user.register-number")
    private long registerNumber;

}
